<!doctype html>
<html lang="en">
	<head>
		<title>three.js canvas - lines - random</title>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
		<style>
			body {
				background-color: #000000;
				margin: 0px;
				overflow: hidden;
			}
			.mphDiv{
				position:absolute; top:0; 
				background-color:#FFFFFF;
				float:left;
				width:200px;
				height:200px;
			}

			a {
				color:#0078ff;
			}
		</style>
	</head>
	<body>
		<div id="mph" class="mphDiv"><br/>
		<a href='#' onClick='tryThis();return false'>Add points</a><br/>
			camDistance:<span id="zInfo"></span><br/>
			<span id="chatLog">chat</span><br/>
			camX:<span id="camX"></span><br/>
			camY:<span id="camY"></span><br/>
			camZ:<span id="camZ"></span><br/>
			mouseX:<span id="mouseX"></span><br/>
			mouseY:<span id="mouseY"></span><br/>
			dragX:<span id="dragX"></span><br/>
			dragY:<span id="dragY"></span><br/>
		</div>

		<script src="../javascripts/jquery-1.7.1.min.js"></script>
		<script src="../javascripts/jquery.mousewheel.js"></script>
		<script src="../javascripts/build/Three.js"></script>
		<script src="../fonts/helvetiker_regular.typeface.js"></script>
		<script src="../javascripts/3d.js"></script>
		<script src="../javascripts/camControl.js"></script>
		<script src="/assets/javascripts/websocket.js"></script>
		<script src="/assets/javascripts/json2.js"></script>

		<script>
			var PI2 = Math.PI * 2;
			var material = new THREE.ParticleCanvasMaterial( {
				color: 0xffffff,
				program: function ( context ) {
					context.beginPath();
					context.arc( 0, 0, 1, 0, PI2, true );
					context.closePath();
					context.fill();
				}
			} );

			var mouseX = 0, mouseY = 0,
			windowHalfX = window.innerWidth / 2,
			windowHalfY = window.innerHeight / 2,

			SEPARATION = 200,
			AMOUNTX = 10,
			AMOUNTY = 10,

			camera, scene, renderer;

			init();
			animate();

		</script>
	</body>
</html>